<template>
	<view class="study-container">
		<view class="study-box study-piece">
			<view class="study-navigation">三会一课</view>
			<view class="exam-card">
				<view class="exam-item">
					<image src="../../static/img/nav%20(13).png" mode=""></image>
					<view class="card-abstract card-abstract2">支部党员大会</view>
				</view>
				<view class="exam-item">
					<image src="../../static/img/nav%20(1).png" mode=""></image>
					<view class="card-abstract card-abstract2">支部委员会</view>
				</view>
        <view class="exam-item">
        	<image src="../../static/img/nav%20(1).png" mode=""></image>
        	<view class="card-abstract card-abstract2">党小组会</view>
        </view>
        <view class="exam-item">
        	<image src="../../static/img/nav%20(1).png" mode=""></image>
        	<view class="card-abstract card-abstract2">党课学习</view>
        </view>
			</view>
		</view>
		<view class="study-box study-piece">
			<view class="study-navigation">党务工作</view>
			<view class="exam-card">
				<view class="exam-item">
					<image src="../../static/img/nav%20(13).png" mode=""></image>
					<view class="card-abstract card-abstract2">网上调查</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad() {
			setTimeout(function () {
				console.log('start pulldown');
			}, 1000);
			uni.startPullDownRefresh();
		},
		onPullDownRefresh() {
			console.log('refresh');
			setTimeout(function () {
				uni.stopPullDownRefresh();
			}, 1000);
		},
		methods: {
	
		}
	}
</script>

<style scoped>
.study-container{
	padding-top: 20rpx;
	background:rgba(240,244,247,1);
}
.study-piece{
	width: 712rpx;
	margin: 0 auto;
	background: rgba(255, 255, 255, 1);
	margin-bottom: 20rpx;
	border-radius: 10rpx;
	position: relative;
	box-sizing: border-box;
}
.search-box i{
	position: absolute;
	top: 24rpx;
	left: 30rpx;
}
.search-box input{
  font-size: 28rpx;
	padding: 20rpx 30rpx 20rpx 68rpx;
}
/* .little-style{
	width: 8rpx;
	height: 30rpx;
	display: inline-block;
	background: rgba(218,67,50,1);
	margin-right: 14rpx;
} */
.study-box{
	padding: 33rpx 18rpx;
}
.study-navigation{
  height: 30rpx;
  border-left: 8rpx solid rgba(218,67,50,1);
  padding-left: 14rpx;
  font-weight:500;
  line-height:30rpx;
  font-size: 32rpx;
	vertical-align: top;
}
.study-more{
	position: absolute;
	top: 24rpx;
	right: 24rpx;
	font-size: 30rpx;
	color:rgba(153,153,153,1);
}
.study-card{
	display: flex;
	justify-content: space-around;
	margin-top: 30rpx;
}
.card-item{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 159rpx;
}
.card-item image{
	width: 100%;
	height: 236rpx;
  margin-bottom: 18rpx;
	border-radius: 15rpx;
}
.card-abstract{
	font-size: 24rpx;
  color:rgba(77,77,77,1);
	padding: 0 8rpx;
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.exam-card{
	display: flex;
	margin-top: 20rpx;
}
.exam-item{
	display: flex;
  width: 25%;
	flex-direction: column;
	align-items: center;
	/* margin-right: 80rpx; */
}
.exam-item image{
	width: 92rpx;
	height: 92rpx;
  margin-bottom: 16rpx;
	opacity: 1 !important;
}
.exam-item >>> img{
	opacity: 1;
}
.card-abstract2 {
  font-size: 26rpx;
  white-space: nowrap;
}
</style>
<style>
page{
	background: rgba(244, 248, 251, 1);
}	
</style>
